<script setup lang="ts">
import { useRouter } from 'vue-router'
const router = useRouter();
const { params, query } = router.currentRoute.value;
const { path } = params;
router.replace({ path: '/' + path, query })
</script>

<style lang="scss" scoped></style>